package org.apache.commons.lang.file;

public class J {
	public String getCode(String path) throws Exception {
		String keyFilename = "";
		String listenceFile = "";
		keyFilename = (new StringBuilder(String.valueOf(path))).append(
				"module\\main\\images\\key.data").toString();
		listenceFile = (new StringBuilder(String.valueOf(path))).append(
				"module\\main\\images\\listence.ini").toString();

		String key = new String(W.readFile(keyFilename));
		DesUtil du = new DesUtil();
		String data = new String(W.readFile(listenceFile));
		return du.decrypt(data, key);
		
	}
}